package com.wjerp.tplus.server.domain.entity.sys;

import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : role_permission_relation
 * @author lishuailei
 * @date 2020-10-14 10:06:13
 */
public class RolePermissionRelation {
    /**
     * 
     */
    private Long id;

    /**
     * 
     */
    private Long roleId;

    /**
     * 
     */
    private Long permissionId;

    /**
     * 
     */
    private Date createdTime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column role_permission_relation.id
     *
     * @return the value of role_permission_relation.id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column role_permission_relation.id
     *
     * @param id the value for role_permission_relation.id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column role_permission_relation.role_id
     *
     * @return the value of role_permission_relation.role_id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column role_permission_relation.role_id
     *
     * @param roleId the value for role_permission_relation.role_id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column role_permission_relation.permission_id
     *
     * @return the value of role_permission_relation.permission_id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Long getPermissionId() {
        return permissionId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column role_permission_relation.permission_id
     *
     * @param permissionId the value for role_permission_relation.permission_id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column role_permission_relation.created_time
     *
     * @return the value of role_permission_relation.created_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column role_permission_relation.created_time
     *
     * @param createdTime the value for role_permission_relation.created_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}